From: Kevin Ryde Date: Wed, 25 Nov 2009 22:51:07 +0000 (+0000) Subject: (man): completion-ignore-case t for friendliness and since man X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~9253 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ffe2c25acc160b443ca255de5ba0fa02d4588f2e;p=emacs.git (man): completion-ignore-case t for friendliness and since man itself is case-insensitive on the command line. --- diff --git a/lisp/man.el b/lisp/man.el index cbec29f1250..050ebed81a0 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -799,6 +799,13 @@ all sections related to a subject, put something appropriate into the `Man-switches' variable, which see." (interactive (list (let* ((default-entry (Man-default-man-entry)) + ;; ignore case because that's friendly for bizarre + ;; caps things like the X11 function names and because + ;; "man" itself is case-sensitive on the command line + ;; so you're accustomed not to bother about the case + ;; ("man -k" is case-insensitive similarly, so the + ;; table has everything available to complete) + (completion-ignore-case t) (input (completing-read (format "Manual entry%s" (if (string= default-entry "")